// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsSourceRelationDao;
import com.liuxinlong.modules.entity.AssetsSourceRelation;
import com.liuxinlong.modules.mapper.AssetsSourceRelationMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsSourceRelationDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年11月15日
 */
@Service
public class AssetsSourceRelationDaoImpl extends ServiceImpl<AssetsSourceRelationMapper, AssetsSourceRelation> implements AssetsSourceRelationDao {

    @Override
    public List<AssetsSourceRelation> pageAssetsSourceRelation(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsSourceRelation(queryParam);
    }

    @Override
    public int getAssetsSourceRelationCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsSourceRelationCount(queryParam);
    }

    @Override
    public List<AssetsSourceRelation> getAssetsSourceRelation(String assetsId) {
        return baseMapper.getAssetsSourceRelation(assetsId);
    }
}
